//
//  SuDetailCommentTableViewCell.m
//  Delicious
//
//  Created by gy on 16/5/9.
//  Copyright © 2016年 gy. All rights reserved.
//

#import "SuDetailCommentTableViewCell.h"

@implementation SuDetailCommentTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setModel:(SuComment *)model{
    _model = model;
    [self.ImageVIEW sd_setImageWithURL:[NSURL URLWithString:_model.user[@"profileImageUrl"]]];
    self.nameLabel.text = _model.user[@"nickname"];
    self.timeLabel.text = _model.date;
    self.contentLabel.text = _model.content;
    
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
